package cn.springmvc.service;

import javax.servlet.http.HttpSession;

import cn.springmvc.model.ResultBaseBean;
import cn.springmvc.model.entity.UserBean;

public interface IUserService {
	public ResultBaseBean<UserBean> insert(UserBean t);
	public ResultBaseBean<UserBean> select(UserBean t);
	public ResultBaseBean<UserBean> delete(UserBean t);
	public ResultBaseBean<UserBean> update(UserBean t);
	public ResultBaseBean<UserBean> selectOne(UserBean t);
	public ResultBaseBean<UserBean> login(HttpSession httpSession, UserBean t);
	public ResultBaseBean<UserBean> logout(String sessionId);
}
